import { Injectable } from '@nestjs/common'
import {
    MulterOptionsFactory,
    MulterModuleOptions
} from '@nestjs/platform-express'
@Injectable()
export class MulterConfigService implements MulterOptionsFactory {
    createMulterOptions(): MulterModuleOptions {
        return {
            dest: '/upload'
        }
    }
}
